package com.wen.business.service.impl;

import com.wen.business.mapper.CategoryMapper;
import com.wen.business.service.CategoryService;
import com.wen.common.pojo.account.Category;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategorySvcImpl implements CategoryService {

    @Autowired
    private CategoryMapper categoryMapper;

    @Override
    public List<Category> findAll() {
        return categoryMapper.selectList(null);
    }
}
